//
//  WBDemoViewController.swift
//  Weibo
//
//  Created by kobe on 2016/12/23.
//  Copyright © 2016年 kobe. All rights reserved.
//

import UIKit

class WBDemoViewController: WBBaseViewController {

    func showNext()  {
        navigationController?.pushViewController(WBDemoViewController(), animated: true)
    }

}

extension WBDemoViewController {
//    重写父类方法
    override func setupTableview() {
        super.setupTableview()
        //设置右侧的控制器
        navItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", fontSize: 16, target: self, action: #selector(showNext))

    }
    
    
}
